/*
 * Copyright (c) 2017,  dhl and/or its affiliates. All rights reserved.
 * dhl PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package com.xd.cloud.entity.core;

import javax.persistence.*;

import com.xd.cloud.entity.BaseEntity;

/**
 * 角色
 * 
 * @author dhl
 * @since  V1.0
 * 
 */
@Entity
@Table(name = "sys_role")
public class Role extends BaseEntity{

	private String name;
	//角色对应的key值，比如admin这样的字眼
	private String rolekey;

	private String authority;

	public String getAuthority() {
		return authority;
	}

	public void setAuthority(String authority) {
		this.authority = authority;
	}

	public String getRolekey() {
		return rolekey;
	}
	public void setRolekey(String rolekey) {
		this.rolekey = rolekey;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
